package com.yxq.mdt.app.modules.publish.ui.model;

import com.yxq.mdt.app.modules.publish.ui.bean.PublishListBean;

import io.reactivex.Observable;
import okhttp3.RequestBody;
import retrofit2.http.Body;
import retrofit2.http.Headers;
import retrofit2.http.POST;

public interface MainPublishApi {
    /**
     * 发布视频/语音/图片
     *
     * @param array
     */
    @Headers("Content-Type: application/json")
    @POST("/lbs/gs/topic/doPublish")
    Observable<PublishListBean> setDoPublish(@Body RequestBody array);
}
